package sanshui.system.trade.cronTask;

import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;
import sanshui.system.trade.factory.data.cleaning.CleAGuDailyData;
import sanshui.system.trade.util.CommonTimeUtil;

import javax.annotation.Resource;
import java.time.LocalDateTime;

/**
 * 数据清理
 * 定时任务
 * */
@Component
@Slf4j
public class CleCronTask {

//    @Resource
//    CleAGuDailyData cleAGuDailyData;
//
//    @Scheduled(cron = "0 40 14 * * ?")
//    public void cleAGuDaily() {
//        log.info("清洗每日数据到实时表");
//        cleAGuDailyData.updateRtDataFromShunShi(LocalDateTime.now());
//    }
}
